.class Lcom/bigtincan/android/adfree/DoUpgrade$14;
.super Ljava/lang/Object;
.source "DoUpgrade.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/bigtincan/android/adfree/DoUpgrade;->DoIt()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/bigtincan/android/adfree/DoUpgrade;


# direct methods
.method constructor <init>(Lcom/bigtincan/android/adfree/DoUpgrade;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    .line 472
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 476
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    .line 478
    .local v0, starttime:J
    iget-object v2, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    iget-object v3, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    invoke-static {v3}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$8(Lcom/bigtincan/android/adfree/DoUpgrade;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v3

    invoke-virtual {v3}, Lcom/bigtincan/android/adfree/Common;->doUpgrade()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$11(Lcom/bigtincan/android/adfree/DoUpgrade;Ljava/lang/String;)V

    .line 479
    iget-object v2, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    iget-object v3, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    invoke-static {v3}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$15(Lcom/bigtincan/android/adfree/DoUpgrade;)J

    move-result-wide v3

    invoke-static {v2, v3, v4}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$13(Lcom/bigtincan/android/adfree/DoUpgrade;J)V

    .line 480
    iget-object v2, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    invoke-static {v2}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$8(Lcom/bigtincan/android/adfree/DoUpgrade;)Lcom/bigtincan/android/adfree/Common;

    move-result-object v2

    iget-object v3, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    invoke-static {v3}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$16(Lcom/bigtincan/android/adfree/DoUpgrade;)J

    move-result-wide v3

    invoke-virtual {v2, v3, v4}, Lcom/bigtincan/android/adfree/Common;->SetLocalVer(J)V

    .line 482
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "Update time="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    sub-long/2addr v3, v0

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "ms"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    invoke-static {v2, v3}, Lcom/bigtincan/android/adfree/Common;->LogMessage(Ljava/lang/String;Z)V

    .line 484
    iget-object v2, p0, Lcom/bigtincan/android/adfree/DoUpgrade$14;->this$0:Lcom/bigtincan/android/adfree/DoUpgrade;

    invoke-static {v2}, Lcom/bigtincan/android/adfree/DoUpgrade;->access$14(Lcom/bigtincan/android/adfree/DoUpgrade;)Landroid/os/Handler;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 485
    return-void
.end method
